package grad.nxu.recruitsystem.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @TableName feedback
 */
@Accessors(chain = true)
@TableName(value = "feedback")
@Data
public class Feedback implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 主键，自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 意见反馈标题
     */
    @TableField(value = "title")
    private String title;
    /**
     * 反馈内容
     */
    @TableField(value = "content")
    private String content;
    /**
     * 反馈类型
     */
    @TableField(value = "categories")
    private String categories;
    /**
     * 反馈者id
     */
    @TableField(value = "sender_email")
    private String senderEmail;
    /**
     * 是否已回复
     */
    @TableField(value = "is_reply")
    private Boolean isReply;
    /**
     * 意见反馈提交时间
     */
    @TableField(value = "send_time")
    private String sendTime;
}